Ext.define('DragonApp.view.main.Panel', {
    extend: 'Ext.tab.Panel',
    xtype: 'mainpanel',

    requires: [
        'Ext.ux.TabCloseMenu',
        'Ext.overrides.ux.TabCloseMenu'
    ],

    plugins: Ext.create('Ext.ux.TabCloseMenu', {}),

    activeTab: 0,

    items: [{
        xtype: 'server',
        title: '服务器',
        closable: false,
        iconCls: 'fa fa-home fa-lg tabIcon'
    }]
});